//
//  TOPCollectionViewCell.m
//  中关村在线
//
//  Created by dllo on 16/1/13.
//  Copyright © 2016年 guoguo. All rights reserved.
//

#import "TOPCollectionViewCell.h"

@implementation TOPCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:_label];
        [_label release];
        
        
    }
    return self;
}

-(void)dealloc{
    [super dealloc];
    [_label release];
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes{
    
    _label.frame = CGRectMake(0, 0, 50, 28);
    _label.textColor = [UIColor whiteColor];
    
    _label.font = [UIFont systemFontOfSize:16];
    
}



@end
